package com.sky.controller;

import org.springframework.web.bind.annotation.GetMapping;

public class HelloController {
    @GetMapping("hello")
    public String sayHello(){
        System.out.println("进入了say hello");
        return "hello!!";
    }
    @GetMapping("hi")
    public String sayHi(String name){
        System.out.println("hi中收到name=："+name);
        return "Hi" + name + ", Glad to see u";
    }

}
